﻿@import url('reset.css');
/* for app.master page which defined in View/Share/App.Master
-------------------------------*/
body, p, td, th, li
{
    font: 12px/1.5 宋体,tahoma,helvetica, arial,sans-serif;
    color: #000000;
}
body
{
    background: url("images/bg.png") repeat-x scroll 0 0 #E8E8DD;
}
p
{
    margin: 0 0 1em 0;
}
h1
{
    margin: .825em 0 .5em 0;
    font-size: 2.125em;
    font-weight: bold;
}

h2
{
    margin: .825em 0 .5em 0;
    font-size: 1.75em;
    font-weight: bold;
}

h3
{
    margin: .825em 0 .5em 0;
    font-size: 1.5em;
    font-weight: bold;
}

h4
{
    margin: .825em 0 .5em 0;
    font-size: 1.25em;
}

h5
{
    margin: .825em 0 .5em 0;
    font-size: 1.125em;
}

h6
{
    margin: .825em 0 .5em 0;
    font-size: 1em;
}

ul
{
    margin-left: 2.5em;
    list-style-type: none;
}

ol
{
    margin-left: 2.5em;
}

blockquote
{
    margin: 0 0 18px 18px;
    color: #666666;
    font-style: italic;
}
strong
{
    font-weight: bold;
}
em
{
    font-style: italic;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    margin: 0 auto;
    width: 960px;
}

#header
{
    /*position: relative;*/
    margin-bottom: 0px;
    color: #fff;
    padding: 0;
    height: 123px;
}
#header #title
{
    float: left;
    font-weight: bold;
    font-size: 32px;
    height: 47px;
}
#header h1
{
    color: #fff;
}
#header #userInfo a
{
    font-weight: bold;
    color: White;
    text-decoration: none;
}
#header #userInfo a:hover
{
    text-decoration: underline;
}
#header #userInfo
{
    padding: 5px 10px;
    float: right;
    text-align: right;
}

#header #mainMenu
{
    clear: both;
}


#main
{
    padding: 10px 20px 15px 10px;
    text-align: left;
    background-color: White;
}

#footer
{
    background-color: #999;
    padding: 10px 12px;
    line-height: normal;
    margin: 0;
    font-size: .9em;
    clear: both;
}

/*
the subjefct of all page. 
*/
.subject
{
    zoom: 1;
}
/* dasb broad 
-------------------------------------------*/
.panel .shotcutPanel
{
    padding-bottom: 10px; /* only for in panel*/
    width: 100%;
}

.shotcutPanel
{
    margin-left: 10px;
}
.shotcutPanel ul, .shotcutPanel li
{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.shotcutPanel .shotcut
{
    text-align: center;
    float: left;
    display: inline;
    cursor: pointer;
    width: 93px;
    height: 70px;
    margin: 4px;
    overflow: hidden;
    padding-bottom: 5px;
}
.shotcutPanel a, .shotcutPanel a:link
{
    text-align: center;
    color: #006600;
}

.shotcutPanel .shotcut img
{
    border-width: 0px;
    display: block;
    vertical-align: middle;
    margin: 0 auto;
}




/* middle layout 
-----------------------------------------------------------*/
.align-center
{
    text-align: center;
}
.align-center .center
{
    margin: 0 auto;
    text-align: left;
}
/* css form
------------------------------------------------------------------------------*/
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
fieldset.cssform, .cssform
{
    border-width: 0px;
    margin: .5em;
}
fieldset.cssform legend
{
    color: #0B77B7;
    font-size: 1.4em;
    font-weight: bold;
}
.cssform p, .cssform .fieldItem, .cssform .editor-field
{
    clear: both;
    margin: 0.5em 0;
}

.cssform label
{
    float: left;
    width: 8em;
    margin-right: 1em;
    text-align: right;
}
.cssform .toolbar
{
    padding-left: 9em;
}

.cssform label.data
{
    background: none repeat scroll 0 0 #FAFAFA;
    padding: 0.15em;
    width: 10em;
    text-align: left;
    margin-right: 0;
}
.cssform .data
{
    float: left;
    display: inline;
    width: 8em;
}
.cssform input[type="text"], .cssform input[type="password"], .cssform textarea
{
    -moz-border-radius: 0.4em 0.4em 0.4em 0.4em;
    background: none repeat scroll 0 0 #FAFAFA;
    border: 1px solid #DDDDDD;
    padding: 0.15em;
    width: 10em;
    font-size: 12px;
}

.cssform input[type="text"]:focus, .cssform input[type="password"]:focus, .cssform textarea:focus
{
    background-color: #E8F3FF;
    border-color: #666666;
}

.cssform textarea
{
    height: 80px;
}
.cssform .radioGroup, .cssform .checkBoxGroup
{
    vertical-align: middle;
    width: 230px;
    float: left;
}
.cssform .radioGroup label, .cssform .checkBoxGroup label
{
    margin: 0px;
    float: none;
}

/* panel
--------------------------------*/
.panel
{
    margin: 10px 8px;
}

.panel .ui-widget-header
{
    margin: -1px -1px 10px -1px;
    padding: 5px 4px;
    text-align: left;
}


/* ajax progressbar
-------------------------------------*/
div#progressbar
{
    z-index: 1;
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    float: left;
    background-color: #fff;
    filter: Alpha(opacity=50);
    -moz-opacity: .5;
    opacity: 0.5;
}
div#progressbar div
{
    background-image: url('media/ajax-loader.gif');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}

.buttonContainer
{
    padding: 4px;
}

/*JQuery Icon style
sample:
<span class="iconContainer">
    <input type="text" value="admin" name="Name" id="Name"/>
        <span class="ui-icon"></span>
</span>
------------------------------*/

.iconContainer
{
    position: relative;
}
.iconContainer .ui-icon
{
    position: absolute;
    top: 50%;
    margin: -8px 5px 0 0;
    left: 100%;
}

.error
{
    margin-left: 16px;
}

a.iconContainer
{
    padding: 0.2em 0.5em 0.1em 20px;
    position: relative;
    text-decoration: none;
}
a.iconContainer .ui-icon
{
    position: absolute;
    top: 50%;
    margin: -8px 5px 0 0;
    left: 0.2em;
}




/* 下拉式菜单
-------------------------------------*/
.slideMenu
{
    /*font: bold 12px Verdana;*/ /*background: #414141;*/ /*width: 95%;*/
    margin: 0;
    padding: 0;
    list-style-type: none;
    border-width: 0;
    float: left;
    font-weight: bold;
}
/* first-level style
-------------------------------------------*/
.slideMenu-nav-frist-level
{
    color: White;
}

/* drop down list style
------------------------------------------------*/
.jqueryslidemenu
{
    font: bold 12px Verdana;
    background: #414141;
    width: 100%;
}

.jqueryslidemenu ul
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/*Top level list items*/
.jqueryslidemenu ul li
{
    position: relative;
    display: inline;
    float: left;
}

/*Top level menu link items style*/
.jqueryslidemenu ul li a
{
    display: block;
    background: #414141; /*background of tabs (default state)*/
    color: white;
    padding: 8px 10px;
    border-right: 1px solid #778;
    color: #2d2b2b;
    text-decoration: none;
}

* html .jqueryslidemenu ul li a
{
    /*IE6 hack to get sub menu links to behave correctly*/
    display: inline-block;
}

.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited
{
    color: white;
}

.jqueryslidemenu ul li a:hover
{
    background: black; /*tab link background during hover state*/
    color: white;
}

/*1st sub level menu*/
.jqueryslidemenu ul li ul
{
    position: absolute;
    left: 0;
    display: block;
    visibility: hidden;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li
{
    display: list-item;
    float: none;
    z-index: 99999;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul
{
    top: 0;
}

/* Sub level menu links style */
.jqueryslidemenu ul li ul li a
{
    font: normal 13px Verdana;
    width: 160px; /*width of sub menus*/
    padding: 5px;
    margin: 0;
    border-top-width: 0;
    border-bottom: 1px solid gray;
}

.jqueryslidemenuz ul li ul li a:hover
{
    /*sub menus hover style*/
    background: #eff9ff;
    color: black;
}

/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass
{
    position: absolute;
    top: 12px;
    right: 7px;
}

.rightarrowclass
{
    position: absolute;
    top: 6px;
    right: 5px;
}
/* to do list
-----------------------*/

ol.todoList
{
    list-style-type: decimal;
}
.todoList li
{
    margin-left: 8px;
}
.todoList a:visit
{
}
.verticalMenu
{
    background-color: #fff;
    text-align: center;
}
.verticalMenu ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 150px;
    border-bottom: 1px solid #FFF;
    text-align: left;
    margin: 0 auto;
}
.verticalMenu li
{
    border-bottom: dashed 1px #D2D2D2;
    position: relative;
    padding: 5px 16px;
    cursor: pointer;
}
.verticalMenu li:hover, .verticalMenu li-hover
{
    font-weight: bold;
    background-color: #DCE3D7;
}
.verticalMenu li a
{
    color: #666666;
    display: block;
}
.verticalMenu li .ui-icon
{
    position: absolute;
    top: 50%;
    margin: -8px 5px 0 0;
    left: 130px;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for this alertPanel for easyValidate.js.
----------------------------------------------------------*/
.alertPanel
{
    padding: 0pt 0.7em;
    display: inline-block;
    margin-left: 0.3em;
}
.alertPanel
{ *display:inline;
}
.alertIcon
{
    display: inline-block;
    margin-right: 0.3em;
    vertical-align: middle; *float:left;

}
.alertIcon
{ *display:block;
}

/* role selector style whichi be use in 
~/Areas/MemberShips/Views/Role/RolesSelector.ascx
------------------------------*/
#roleSelector
{
    width: 100%;
    overflow: auto;
    margin: 0;
}
#roleSelector li
{
    width: 100%;
}
#roleSelector a
{
    font-size: 14px;
    padding-left: 15px;
    display: block;
}
#roleSelector a:hover, #roleSelector a.selector
{
    background-color: Blue;
    color: #fff;
}

/* Layout two-column, left is menu, right is content
--------------------------------------------*/
/*
    <div class="mainContentWrapper">
        <div class="rightMainContent">
    </div>
    <div class="leftMenu">
    </div>
*/
.mainContentWrapper
{
    float: left;
    width: 100%;
}
.rightMainContent
{
    margin-left: 180px;
}
.leftMenu
{
    float: left;
    width: 180px;
    margin-left: -100%;
}
